Method QueryAsync<T>(string, params object[])

Assembly: redb.MSSql.dll

Execute SQL query and map results to list of objects.
Uses JsonPropertyName attribute for snake_case to PascalCase mapping.

public Task<List<T>> QueryAsync<T>(string sql, params object[] parameters) where T : new()